
import layout from '@/views/scenario/module/Layout'
export default [
  {
    path: '/scenario',
    name: 'scenario',
    component: () => import('@/views/scenario/lis'),
    affiliation: 'main',
    meta: { title: '想定管理', icon: 'icon12', name: 'scenario' },
  },
  {
    path: '/scenario/detail',
    name: 'scenariodetail',
    component: () => import('@/views/scenario/detail'),
    // affiliation: 'main',
    meta: { title: '想定管理', icon: 'icon12', name: 'scenario' },
  },
  {
    path: '/scenario',
    name: 'scenario',
    component: layout,
    // affiliation: 'main',
    meta: { title: '想定管理', icon: 'icon12', name: 'scenario' },
    children: [
      {
        path: 'code',
        component: () => import('@/views/scenario/code'),
        name: 'scenariocode',
        meta: {
          title: '概览',
          icon: 'nav-menu-icon1',
          affiliation: "scenario"
        }
      },

      {
        path: 'log',
        component: () => import('@/views/scenario/log'),
        name: 'scenariolog',
        meta: {
          title: '日志',
          icon: 'nav-menu-icon1',
          affiliation: "scenario"
        }
      },

      {
        path: 'file',
        component: () => import('@/views/scenario/file'),
        name: 'scenariofile',
        meta: {
          title: '文件',
          icon: 'nav-menu-icon1',
          affiliation: "scenario"
        }
      }
    ]
  },
]
